<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
    <title>西京文交所管理端-添加藏品</title>
    <link rel="stylesheet" href="../../static/iconfont/iconfont.css" >
    <link rel="stylesheet" href="../../static/frameset.css" >
</head>
<body>

    <div id="J_wrap" class="m_wrap m_box_v p_detail none">
        <div class="m_top">
            <headers v-on:callback="headerHandle" :userobj.sync="userobj"></headers>
        </div>
        <div class="m_content m_flex1 m_box">
            <menunav index="collection" sub="issued" v-if="disabled" :navobj.sync="userobj.group_acl"></menunav>
            <menunav index="collection" sub="notissued" v-if="!disabled" :navobj.sync="userobj.group_acl"></menunav>
            <div class="container m_flex1">
                <ul class="breadcrumbs">
                    <li><span>藏品管理</span>&gt;</li>
                    <li v-if="disabled"><a href="index.html">已发行</a>&gt;</li>
                    <li v-if="!disabled"><a href="notissued.html">未发行</a>&gt;</li>
                    <li class="on">藏品详情</li>
                </ul>
                <div class="m_title"><h2>藏品信息</h2></div>
                <table class="m_detable">
                    <tbody>
                        <tr>
                            <th width="140">藏品ID</th>
                            <td width="20%">{{ detail.code }}</td>
                            <th width="140">藏品名称</th>
                            <td>{{ detail.name }}</td>
                        </tr>
                        <tr>
                            <th>藏品大类</th>
                            <td>{{ detail.type_name }}</td>
                            <th>藏品类型</th>
                            <td>{{ detail.sub_type_name }}</td>
                        </tr>
                        <tr>
                            <th>上票方</th>
                            <td>{{ detail.biz_name }}</td>
                            <th>挂牌价</th>
                            <td>{{ detail.price | markMoney }}</td>
                        </tr>
                        <tr>
                            <th>挂牌量</th>
                            <td>{{ detail.count }}</td>
                            <th>最大委托买入</th>
                            <td>{{ detail.max_entrust_buy }}</td>
                        </tr>
                        <tr>
                            <th>最大委托卖出</th>
                            <td>{{ detail.max_entrust_sell }}</td>
                            <th>最小提货量</th>
                            <td>{{ detail.min_take }}</td>
                        </tr>
                        <tr>
                            <th>图文ID</th>
                            <td>{{ detail.article }}</td>
                            <th>上市时间</th>
                            <td>{{ detail.sell_time }}</td>
                        </tr>
                    </tbody>
                </table>
                <div class="m_title"><h2>参数信息</h2></div>
                <p class="tc" v-if="!param_info.apply_type">未设置参数</p>
                <table class="m_table" v-if="param_info.apply_type">
                    <thead>
                        <tr>
                            <th>交易号</th>
                            <th>姓名</th>
                            <th>主力</th>
                            <th>手续费</th>
                            <th>持有量</th>
                            <th>t+n锁仓</th>
                            <th>申购量</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr v-if="list.length < 1 ">
                            <td colspan="7">
                                <div class="tc">暂无数据</div>
                            </td>
                        </tr>
                        <tr v-for="item in list" v-if="list.length > 0">
                            <td>{{ item.pnr_no }}</td>
                            <td>{{ item.name }}</td>
                            <td>{{ item.is_main }}</td>
                            <td>{{ item.r_fee }}‰</td>
                            <td>{{ item.total }}</td>
                            <td>{{ item.tn_locked }}</td>
                            <td>{{ item.purchase }}</td>
                        </tr>
                    </tbody>
                </table>
                <table class="m_detable" v-if="param_info.apply_type">
                    <tbody>
                        <tr>
                            <th width="140">申购方式</th>
                            <td width="20%">{{ param_info.apply_type | applyType }}</td>
                            <th width="140">市值模块</th>
                            <td>{{ param_info.apply_worth_module }}</td>
                        </tr>
                        <tr v-if="param_info.apply_type != 1">
                            <th>额外冻结</th>
                            <td>{{ param_info.extra_frozen | markMoney }}</td>
                            <th></th>
                            <td></td>
                        </tr>
                        <template v-if="param_info.apply_type != 2 ">
                            <tr v-if="param_info.apply_type == 3">
                                <th class="subtitle" colspan="4">市值</th>
                            </tr>
                            <tr>
                                <th>市值申购量</th>
                                <td>{{ param_info.wealth_count }}</td>
                                <th>最大中签量</th>
                                <td>{{ param_info.max_assign_count_w }}</td>
                            </tr>
                        </template>
                        <template v-if="param_info.apply_type != 1">
                            <tr v-if="param_info.apply_type == 3">
                                <th class="subtitle" colspan="4">抢单</th>
                            </tr>
                            <tr>
                                <th>抢单申购量</th>
                                <td>{{ param_info.queue_count }}</td>
                                <th>最大中签量</th>
                                <td>{{ param_info.max_assign_count_q }}</td>
                            </tr>
                            <tr>
                                <th>市值约束</th>
                                <td>{{ param_info.min_user_wealth }}</td>
                                <th>针对新用户</th>
                                <td>{{ param_info.is_new_user == 1 ? '是' : '否' }}</td>
                            </tr>
                        </template>
                        <tr>
                            <th>申购开始时间</th>
                            <td>{{ param_info.apply_begin }}</td>
                            <th>申购结束时间</th>
                            <td>{{ param_info.apply_end }}</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>


    <script src="../../js/plugins/zepto/zepto.min.js"></script>
    <script src="../../js/plugins/vue/vue.min.js"></script>
    <script src="../../js/plugins/seajs/sea.js"></script>
    <script src="../../js/plugins/seajs/seajs-text.js"></script>

    <script>
        seajs.use( "../../js/page/collection/detail" );
    </script>

</body>
</html>
